<%@ page language="java" pageEncoding="UTF-8"%><%@page import="javax.servlet.ServletInputStream"%><%@page import="java.io.BufferedReader"%><%@page import="java.io.InputStreamReader"%><%
response.setContentType("application/vnd.ms-excel;charset=UTF-8"); 
response.addHeader("Content-Disposition", "attachment;filename=\"excel-"+System.currentTimeMillis()+".xls\""); 
response.setHeader("Pragma","no-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires",0);
request.setCharacterEncoding("UTF-8");
ServletInputStream in=request.getInputStream();
BufferedReader reader = new BufferedReader(new InputStreamReader(in,"UTF-8"));
reader.readLine();
reader.readLine();
reader.readLine();
String data=reader.readLine();
//System.out.println(data);
out.print(data);


%>